.PHONY: shm_open
create: create.c
	-@$(CC) -o $@ $^
	-@./$@
	-@$(RM) $@

exit: exit.c
	-@$(CC) -o $@ $^
	-@./$@
	-@$(RM) $@

cancel: cancel.c
	-@$(CC) -o $@ $^
	-@./$@
	-@$(RM) $@

thread_compete: thread_compete.c
	-@$(CC) -o $@ $^
	-@./$@
	-@$(RM) $@

mutex: mutex.c
	-@$(CC) -o $@ $^
	-@./$@
	-@$(RM) $@

cond: cond.c
	-@$(CC) -o $@ $^
	-@./$@
	-@$(RM) $@

semaphore: semaphore.c
	-@$(CC) -o $@ $^
	-@./$@
	-@$(RM) $@
